// 页面路径：store/index.js 
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);
const store = new Vuex.Store({
	state: {
		storeInfo: null
	},
	mutations: {
		setStoreInfo(state, storeInfo) {
			state.storeInfo = storeInfo
		}
	}
})
export default store